import HttpService from "@/api";

/**
 * @description 获取操作日志列表
 * @param params
 * @returns
 */
export const getOperLogListApi = (params: any) => HttpService.get<any>(`/monitor/operlog/list`, { params });

/**
 * @description 删除操作日志
 * @param operIds
 * @returns
 */
export const delOperLogApi = (operIds: string) => HttpService.delete<any>(`/monitor/operlog/${operIds}`);

/**
 * @description 清空操作日志
 * @param
 * @returns
 */
export const cleanOperLogApi = () => HttpService.delete<any>(`/monitor/operlog/clean`);

/**
 * @description 根据字典类型查询字典数据信息
 * @param dictType
 * @returns
 */
export const getDictDataTypeApi = (dictType: string) => HttpService.get<any>(`/system/dict/data/type/${dictType}`);
